package com.qsbc.pygram.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author baomidou
 * @since 2023-01-01
 */
@Getter
@Setter
@TableName("judge_question")
@ApiModel(value = "JudgeQuestion对象", description = "")
public class JudgeQuestion implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("序号")
    private Integer id;

    @ApiModelProperty("试题编号")
    @TableId(value = "questionId", type = IdType.AUTO)
    private Integer questionId;

    @ApiModelProperty("考试科目")
    @TableField("subject")
    private String subject;

    @ApiModelProperty("试题内容")
    @TableField("question")
    private String question;

    @ApiModelProperty("正确答案")
    @TableField("answer")
    private String answer;

    @ApiModelProperty("题目解析")
    @TableField("analysis")
    private String analysis;

    @ApiModelProperty("分数")
    @TableField("score")
    private Integer score;

    @ApiModelProperty("难度等级")
    @TableField("level")
    private String level;

    @ApiModelProperty("所属章节")
    @TableField("section")
    private String section;


}
